]> dgit.raspbian.org Git - gnome-shell.git/commit
user-menu: Keep track of current presence
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 2 Sep 2011 12:15:31 +0000 (14:15 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 2 Sep 2011 16:13:09 +0000 (18:13 +0200)
commit8adc193d73de613d8f7bf7a2bf9213d17e40fabd
tree22895dfc98f8e17bd306c029aef73e66c7d74aa1
parent86aa4fe0a95f98d8eff03985bedf20f25d9cdfe1
user-menu: Keep track of current presence

We keep track of presence changes by connecting to the
Tp.AccountManager:most-available-presence-changed signal.
However, if multiple accounts are in use, telepathy may
lie to us and emit the signal even when the most available
presence is unchanged.
Work around this by keeping track of the current presence
ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=657703
js/ui/userMenu.js